package com.course.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class ResponseArticle {
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;
    private String title;
    private String img;
    private String description;
    private Long categoryId;
    private String content;
    private String createTime;
    private String updateTime;
    private Boolean istop;
    private Boolean isdel;
    private ResponseCategory category;
}
